home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 200 Programs
/
Top 200 Programs.iso
/
Bob8
/
THOMPSON
/
LIBERTY
/
PRODUCT
/
TUTORIAL.EXE
/
WK4PROG3.BAS
< prev
next >
Wrap
BASIC Source File
|
1996-02-28
|
528b
|
25 lines
'WK4PROG3.BAS
'open a window with a button
'the window is sized at 399 by 100 at position 200, 150
WindowWidth = 300
WindowHeight = 100
UpperLeftX = 200
UpperLeftY = 150
button #myFirst.ok, "OK!", [okClicked], UL, 15, 15
open "myname's first window!" for window as #myFirst
'now stop and wait
input aVar$
goto [quit]
[okClicked] 'the OK! button was clicked
notice "You clicked on OK!"
[quit]
'now close the window
close #myFirst
end